package cn.zx.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {

    private Long id;
    /*部门编号*/
    private String sn;
    /*部门名称*/
    private String name;
    /*上级分类*/
    private String dirPath;
    /*部门状态，0正常，1禁用*/
    private Integer state;
    /*部门管理员ID*/
    private Long manager_id;
    /*上级部门ID*/
    private Long parent_id;
    /*员工对象*/
    private Employee manager;

    private Department parent;
}
